/**
 * 
 */
package com.hexacta.hrs.report.dtos;

/**
 * @author mfunes
 * 
 */
public class EmployeeLeavesReportDTO implements Comparable<EmployeeLeavesReportDTO> {

    private String firstName = "----";

    private String lastName = "----";

    private String cuilOrCuit = "----";

    private String firstWorkingDay = "----";

    private String firstEmployeeDay = "----";

    private String lastWorkingDay = "----";

    private String careerRole = "----";

    private String careerRolePosition = "----";

    private String officeLocation = "----";

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(final String firstName) {
        this.firstName = firstName != null ? firstName : "----";
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(final String lastName) {
        this.lastName = lastName != null ? lastName : "----";
    }

    public String getCuilOrCuit() {
        return cuilOrCuit;
    }

    public void setCuilOrCuit(final String cuilOrCuit) {
        this.cuilOrCuit = cuilOrCuit != null ? cuilOrCuit : "----";
    }

    public String getFirstWorkingDay() {
        return firstWorkingDay;
    }

    public void setFirstWorkingDay(final String firstWorkingDay) {
        this.firstWorkingDay = firstWorkingDay != null ? firstWorkingDay : "----";
    }

    public String getLastWorkingDay() {
        return lastWorkingDay;
    }

    public void setLastWorkingDay(final String lastWorkingDay) {
        this.lastWorkingDay = lastWorkingDay != null ? lastWorkingDay : "----";
    }

    public void setFirstEmployeeDay(final String firstEmployeeDay) {
        this.firstEmployeeDay = firstEmployeeDay != null ? firstEmployeeDay : "----";
    }

    public String getFirstEmployeeDay() {
        return firstEmployeeDay;
    }

    public String getCareerRole() {
        return careerRole;
    }

    public void setCareerRole(final String careerRole) {
        this.careerRole = careerRole != null ? careerRole : "----";
    }

    public String getCareerRolePosition() {
        return careerRolePosition;
    }

    public void setCareerRolePosition(final String careerRolePosition) {
        this.careerRolePosition = careerRolePosition != null ? careerRolePosition : "----";
    }

    @Override
    public int compareTo(final EmployeeLeavesReportDTO o) {
        return getLastName().compareTo(o.getLastName());
    }

    /**
     * @param officeLocation
     *            the officeLocation to set
     */
    public void setOfficeLocation(final String officeLocation) {
        this.officeLocation = officeLocation;
    }

    /**
     * @return the officeLocation
     */
    public String getOfficeLocation() {
        return officeLocation;
    }
}
